package com.su.sweet.controller;

import cn.hutool.core.bean.BeanUtil;
import com.su.sweet.config.BaseWrapper;
import com.su.sweet.model.SUser;

import java.util.HashMap;
import java.util.Map;

public class UserWapper implements BaseWrapper<SUser> {
    @Override
    public Map<String, Object> doWrap(SUser beWrappedModel) {
        beWrappedModel.setLoginCount(1000000);
        return BeanUtil.beanToMap(beWrappedModel);
    }
}
